// vite.config.ts
import { defineConfig } from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE/QQ_Music/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E6%A1%8C%E9%9D%A2/%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE/QQ_Music/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
var __vite_injected_original_dirname = "D:\\\u684C\u9762\\\u524D\u7AEF\u9879\u76EE\\QQ_Music";
var vite_config_default = defineConfig({
  plugins: [vue()],
  // 文件夹路径
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "src")
    }
  },
  server: {
    // 跨域的写法
    proxy: {
      "/api": {
        target: "http://localhost:3000",
        // 实际请求地址
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxcdTY4NENcdTk3NjJcXFxcXHU1MjREXHU3QUVGXHU5ODc5XHU3NkVFXFxcXFFRX011c2ljXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxcdTY4NENcdTk3NjJcXFxcXHU1MjREXHU3QUVGXHU5ODc5XHU3NkVFXFxcXFFRX011c2ljXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi8lRTYlQTElOEMlRTklOUQlQTIvJUU1JTg5JThEJUU3JUFCJUFGJUU5JUExJUI5JUU3JTlCJUFFL1FRX011c2ljL3ZpdGUuY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